using System;
using System.ServiceModel;

namespace CasinoServer.ServiceContracts
{
    [ServiceContract(Namespace = "http://CasinoServer.ServiceContracts/2007/12", Name = "IPokerGame", SessionMode = SessionMode.Allowed)]
    public interface IPokerGame
    {
        [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "Join")]
        CasinoServer.ServiceContracts.joinResponse Join(CasinoServer.ServiceContracts.JoinRequest request);
        [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "Bet")]
        CasinoServer.ServiceContracts.betResponse Bet(CasinoServer.ServiceContracts.betRequest request);
        [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "GetTable")]
        CasinoServer.ServiceContracts.tableResponse GetTable(CasinoServer.ServiceContracts.tableRequest request);
        [OperationContract(IsTerminating = false, IsInitiating = true, IsOneWay = false, AsyncPattern = false, Action = "Begin")]
        CasinoServer.ServiceContracts.tableResponse Begin(CasinoServer.ServiceContracts.tableRequest request);
    }
}
